cmake_minimum_required(VERSION 3.5.0)

file(GLOB serialport_srcs *.cpp)
add_library(SerialPort ${serialport_srcs})

add_executable(main main.cpp )
target_link_libraries(main SerialPort)